﻿using System;
using System.Xml.Serialization;

namespace FlickrSL.Data
{
    [XmlType("note")]
    public class Note
    {
        [XmlAttribute("id")]
        public Int32 Id { get; set; }

        [XmlAttribute("author")]
        public String AuthorId { get; set; }

        [XmlAttribute("authorname")]
        public String AuthorName { get; set; }

        [XmlAttribute("x")]
        public Int32 X { get; set; }

        [XmlAttribute("y")]
        public Int32 Y { get; set; }

        [XmlAttribute("w")]
        public Int32 Width { get; set; }

        [XmlAttribute("h")]
        public Int32 Height { get; set; }

        [XmlText]
        public String Value { get; set; }
    }
}
